from abc import ABCMeta, abstractmethod


class DealHandler:
    __metaclass__ = ABCMeta

    @abstractmethod
    def buy(self,price):
        # 买卖交易
        pass

    @abstractmethod
    def sell(self,price):
            # 买卖交易
            pass

